<template>
	<view class="CourseDetails-box">
		<u-navbar title="校区详情">
			<view slot="right" style="margin-right: 40upx;font-size: 24upx;color: #0585F2;" @click="getRouter">编辑</view>
		</u-navbar>
		<view class="CourseDetails-auto">
			<u-swiper :list="src" height="365" mode="number" indicator-pos="bottomRight"></u-swiper>
			<!-- <u-image width="100%" height="300rpx" :src="src"></u-image> -->
		</view>
		<view class="CourseDetails-bottom">
			<view class="CourseDetails-bottom-title">
				<view class="CourseDetails-bottom-title1">JG0001</view>
				<view class="CourseDetails-bottom-title2">抚州临川校区</view>
			</view>
			<view class="CourseDetails-bottom-Coursecontent">
				<view class="Course-ID">
					<u-row gutter="16">
						<u-col span="3">
							<view class="demo-layout bg-purple font-24">校区ID</view>
						</u-col>
						<u-col span="9">
							<view class="demo-layout bg-purple-light font-24" style="color: #000000;">XQ0004</view>
						</u-col>
					</u-row>
				</view>
				<view class="Course-classification">
					<u-row gutter="16">
						<u-col span="3">
							<view class="demo-layout bg-purple font-24">负责人</view>
						</u-col>
						<u-col span="9">
							<view class="demo-layout bg-purple-light font-24" style="color: #000000;">江林川</view>
						</u-col>
					</u-row>
				</view>
				<view class="Course-introduce">
					<u-row gutter="16">
						<u-col span="3">
							<view class="demo-layout bg-purple font-24">联系方式</view>
						</u-col>
						<u-col span="9">
							<view class="demo-layout bg-purple-light font-24" style="color: #000000;">18079442429</view>
						</u-col>
					</u-row>
				</view>
				<view class="Course-introduce">
					<u-row gutter="16">
						<u-col span="3">
							<view class="demo-layout bg-purple font-24">校区地址</view>
						</u-col>
						<u-col span="9">
							<view class="demo-layout bg-purple-light font-24" style="color: #000000;">江西省抚州市临川区</view>
						</u-col>
					</u-row>
				</view>
				<view class="Course-introduce">
					<u-row gutter="16">
						<u-col span="3">
							<view class="demo-layout bg-purple font-24">详细地址</view>
						</u-col>
						<u-col span="9">
							<view class="demo-layout bg-purple-light font-24" style="color: #000000;">临川区上顿渡才子大道180号</view>
						</u-col>
					</u-row>
				</view>
				<view class="Course-introduce">
					<u-row gutter="16">
						<u-col span="3">
							<view class="demo-layout bg-purple font-24">创建时间</view>
						</u-col>
						<u-col span="9">
							<view class="demo-layout bg-purple-light font-24" style="color: #000000;">2021/04/19 12:00:00</view>
						</u-col>
					</u-row>
				</view>
			</view>
		</view>
		<view class="linx"></view>
		<view>
			<view class="curriculum-bottom">
				<view style="margin-bottom: 30upx;font-size: 28upx;">开设课程 （3)</view>
				<u-row gutter="16" v-for="item in 4" :key="item" @click="CourseDetails()">
					<u-col span="4">
						<view class="demo-layout bg-purple">
							<u-image width="100%" height="220rpx" :src="srcImage"></u-image>
						</view>
					</u-col>
					<u-col span="8">
						<view class="demo-layout bg-purple-light" style="text-align: justify;">
							<view class="curriculum-bottom-title">成人英语新概念英语</view>
							<view class="curriculum-bottom-branchclass">语言培训-成人英语-新概念</view>
							<view class="curriculum-bottom-introduce">专为中国的英语学习人士而改编，根专为中国的英语学习人士而改编，根</view>
						</view>
					</u-col>
				</u-row>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				srcImage: 'http://1812.img.pp.sohu.com.cn/images/blog/2009/11/18/18/8/125b6560a6ag214.jpg',
				src: [
					'https://file2.renrendoc.com/fileroot_temp3/2021-3/22/6d6d4388-7021-4580-9c52-5676233033d2/6d6d4388-7021-4580-9c52-5676233033d21.gif',
					'https://file2.renrendoc.com/fileroot_temp3/2021-3/22/6d6d4388-7021-4580-9c52-5676233033d2/6d6d4388-7021-4580-9c52-5676233033d21.gif',
					'https://file2.renrendoc.com/fileroot_temp3/2021-3/22/6d6d4388-7021-4580-9c52-5676233033d2/6d6d4388-7021-4580-9c52-5676233033d21.gif'
				]
			}
		},
		onLoad() {
			
		},
		methods: {
			getRouter () {
				uni.navigateTo({
					url: '/pages/campus/Campuscoursrs'
				})
			},
			CourseDetails () {
				uni.navigateTo({
					url: '/pages/campus/CourseDetails'
				})
			}
		}
	}
</script>

<style>
	
</style>

<style lang="scss" scoped>
	.curriculum-box{
		padding-bottom: 7vh;
	}
	.curriculum-auto .nav-fl{
		padding: 30upx;
	}
	.curriculum-auto .curriculum-type{
		padding: 30upx;
		background-color: #F4F9FE;
	}
	.curriculum-bottom{
		padding: 30upx;
	}
	.curriculum-bottom .curriculum-bottom-title{
		color: #333333;
		font-size: 32upx;
		font-weight: bolder;
		display: flex;
		align-items: center;
		.tag-title{
			width: 90upx;
			height: 34upx;
			background: rgba(0, 129, 243, 0.1);
			border-radius: 3upx;
			font-size: 20upx;
			font-weight: 500;
			color: #0081F1;
			line-height: 34upx;
			text-align: center;
			margin-right: 10upx;
		}
	}
	.curriculum-bottom .curriculum-bottom-branchclass{
		color: #888888;
		margin: 15upx 0;
	}
	.curriculum-bottom .curriculum-bottom-introduce{
		color: #0081F1;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		padding: 15upx;
		background-color: #F4F9FE;
	}
	.curriculum-auto .curriculum-type .u-form-item{
		padding: 0;
	}
	.curriculum-auto .curriculum-type .u-border-bottom:after{
		border-bottom-width: 0;
	}
	.curriculum-auto .curriculum-type .u-input{
		background-color: #fff;
		padding: 0px 10px !important;
	}
	.curriculum-auto .curriculum-type /deep/ .u-form-item--left__content__label{
		color: #888;
	}
	.curriculum-bottom /deep/ .u-row{
		margin-bottom: 15px;
	}
	.curriculum-bottom /deep/ .u-row:nth-last-child(1){
		margin-bottom: 0;
	}
	.linx{
		width: 100%;
		height: 10upx;
		background-color: #F4F9FE;
	}
	.font-24{
		font-size: 24upx;
		color: #999999;
	}
	.CourseDetails-bottom{
		padding: 30upx;
	}
	.CourseDetails-bottom .CourseDetails-bottom-title{
		display: flex;
		align-items: center;
		margin-bottom: 15px;
		font-size: 20upx;
	}
	.CourseDetails-bottom .CourseDetails-bottom-title .CourseDetails-bottom-title1{
		color: #0081F1;
		padding: 1px 5px;
		border-radius: 3px;
		margin-right: 5px;
		background-color: #E5F2FE;
	}
	.CourseDetails-bottom .CourseDetails-bottom-title .CourseDetails-bottom-title2{
		font-weight: bold;
		font-size: 32upx;
	}
	.CourseDetails-bottom-Coursecontent .u-row{
		font-weight: 500;
		margin-bottom: 15px;
		align-items: flex-start !important;
	}
	.CourseDetails-bottom-Coursecontent .Creation-time .u-row{
		margin-bottom: 0;
	}
	.CourseDetails-bottom-Coursecontent .u-col-3{
		color: #999;
	}
	.CourseDetails-bottom-Coursecontent .Course-ID{
		
	}
	.CourseDetails-bottom-Coursecontent .Course-classification{
		
	}
	.CourseDetails-bottom-Coursecontent .Course-introduce .demo-layout{
		text-align: justify;
	}
	.CourseDetails-bottom-Coursecontent .Creation-time{
		
	}
</style>
